package common.vo;

import java.util.List;

import common.base.BaseVo;

public class PageBeanVo<T> extends BaseVo {

	private static final long serialVersionUID = -5539790086769706804L;
	public static final int Status_Success = 200;
	public static final int Status_Error = 300;

	private int status;
	private String message;
	private List<T> data;
	private int pageNo;
	private int rowPerPage;
	private int totalCount;
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	public int getPageNo() {
		return pageNo;
	}
	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}
	public int getRowPerPage() {
		return rowPerPage;
	}
	public void setRowPerPage(int rowPerPage) {
		this.rowPerPage = rowPerPage;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	
}
